package com.example.mall.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Supplier implements Serializable {
    @ApiModelProperty(value = "唯一标识每个供应商")
    private Integer supplierid;

    @ApiModelProperty(value = "供应商的全称或简称")
    private String suppliername;

    @ApiModelProperty(value = "供应商的注册地址或经营地址")
    private String address;

    @ApiModelProperty(value = "负责与供应商沟通的主要联系人")
    private String contactname;

    @ApiModelProperty(value = "联系人的电话号码")
    private String contactphone;

    @ApiModelProperty(value = "供应商的邮箱地址")
    private String email;

    @ApiModelProperty(value = "供应商提供的产品或服务范围")
    private String supplierrange;

    @ApiModelProperty(value = "与供应商开始合作的日期")
    private Date startdate;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "更新时间")
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Integer getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(Integer supplierid) {
        this.supplierid = supplierid;
    }

    public String getSuppliername() {
        return suppliername;
    }

    public void setSuppliername(String suppliername) {
        this.suppliername = suppliername;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContactname() {
        return contactname;
    }

    public void setContactname(String contactname) {
        this.contactname = contactname;
    }

    public String getContactphone() {
        return contactphone;
    }

    public void setContactphone(String contactphone) {
        this.contactphone = contactphone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSupplierrange() {
        return supplierrange;
    }

    public void setSupplierrange(String supplierrange) {
        this.supplierrange = supplierrange;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", supplierid=").append(supplierid);
        sb.append(", suppliername=").append(suppliername);
        sb.append(", address=").append(address);
        sb.append(", contactname=").append(contactname);
        sb.append(", contactphone=").append(contactphone);
        sb.append(", email=").append(email);
        sb.append(", supplierrange=").append(supplierrange);
        sb.append(", startdate=").append(startdate);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}